Skip to main content

widget

Type

object

Summary

A custom control written in LiveCode Builder

Syntax

widget

Description

Use the widget object type to create a widget control. Widgets are created from LiveCode Builder extensions that have previously been loaded into memory using the load extension command. For more details on how to create widgets, please consult the Extending Livecode guide.

Examples

set the visible of widget 1 to false
on newWidget
if the kind of the target is "com.livecode.widget.colorswatch" then
set the swatchColor of the target to "0,0,0,255"
end if
end newWidget

command: load extension

glossary: object type, LiveCode Builder extension, command

keyword: control

Compatibility and Support

Introduced

LiveCode 8.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?